package com.ibm.law.ui.justification;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.RowLayout;

public class MaterialPane extends Composite {

	/**
	 * Create the composite.
	 * @param parent
	 * @param style
	 */
	public MaterialPane(Composite parent, int style) {
		super(parent, SWT.NONE);
		setLayout(new GridLayout(9, false));
		
		Button btnRadioButton = new Button(this, SWT.RADIO);
		btnRadioButton.setSelection(true);
		btnRadioButton.setText("鉴定材料");
		
		Button btnRadioButton_1 = new Button(this, SWT.RADIO);
		btnRadioButton_1.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1));
		btnRadioButton_1.setText("生物检材");
		new Label(this, SWT.NONE);
		new Label(this, SWT.NONE);
		
		Button btnNewButton_2 = new Button(this, SWT.FLAT);
		GridData gd_btnNewButton_2 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_2.widthHint = 100;
		btnNewButton_2.setLayoutData(gd_btnNewButton_2);
		btnNewButton_2.setText("登记");
		
		Button btnNewButton = new Button(this, SWT.FLAT);
		GridData gd_btnNewButton = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton.widthHint = 100;
		btnNewButton.setLayoutData(gd_btnNewButton);
		btnNewButton.setText("移交");
		
		Button btnNewButton_1 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_1 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_1.widthHint = 100;
		btnNewButton_1.setLayoutData(gd_btnNewButton_1);
		btnNewButton_1.setText("退还");
		
		Button btnNewButton_4 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_4 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_4.widthHint = 100;
		btnNewButton_4.setLayoutData(gd_btnNewButton_4);
		btnNewButton_4.setText("销毁");
		
		Button btnNewButton_3 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_3 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_3.widthHint = 100;
		btnNewButton_3.setLayoutData(gd_btnNewButton_3);
		btnNewButton_3.setText("记录凭证");
		
		Composite composite = new Composite(this, SWT.NONE);
		GridData gd_composite = new GridData(SWT.FILL, SWT.FILL, true, true, 9, 1);
		gd_composite.widthHint = 847;
		composite.setLayoutData(gd_composite);
		
		Composite composite_1 = new Composite(this, SWT.NONE);
		composite_1.setLayout(new RowLayout(SWT.HORIZONTAL));
		
		Button btnNewButton_5 = new Button(composite_1, SWT.NONE);
		btnNewButton_5.setText("1");
		
		Button button = new Button(composite_1, SWT.NONE);
		button.setText("2");
		
		Label lblNewLabel = new Label(this, SWT.NONE);
		new Label(this, SWT.NONE);
		new Label(this, SWT.NONE);
		
		Button btnNewButton_7 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_7 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_7.widthHint = 100;
		btnNewButton_7.setLayoutData(gd_btnNewButton_7);
		btnNewButton_7.setText("增加");
		
		Button btnNewButton_8 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_8 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_8.widthHint = 100;
		btnNewButton_8.setLayoutData(gd_btnNewButton_8);
		btnNewButton_8.setText("保存");
		
		Button btnNewButton_9 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_9 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_9.widthHint = 100;
		btnNewButton_9.setLayoutData(gd_btnNewButton_9);
		btnNewButton_9.setText("打印");
		
		Button btnNewButton_10 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_10 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_10.widthHint = 100;
		btnNewButton_10.setLayoutData(gd_btnNewButton_10);
		btnNewButton_10.setText("导出到word");
		
		Button btnNewButton_11 = new Button(this, SWT.NONE);
		GridData gd_btnNewButton_11 = new GridData(SWT.LEFT, SWT.CENTER, false, false, 1, 1);
		gd_btnNewButton_11.widthHint = 100;
		btnNewButton_11.setLayoutData(gd_btnNewButton_11);
		btnNewButton_11.setText("退出");

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}
}
